import axios from '@/libs/request'

export const getStreetData = () => {
  return axios.request({
    url: '/api/as/cme/areacode/findList',
    data: {},
    type: 'get'
  })
}
// 证件类型
export const getCardType = () => {
  return axios.request({
    url: '/api/as/sc/dict/getDictInfoList?type=card_type',
    type: 'get'
  })
}
// 隔离方式
export const getQuarantineType = () => {
  return axios.request({
    url: '/api/as/sc/dict/getDictInfoList?type=quarantine_type',
    type: 'get'
  })
}
// 隔离状态
export const getIsolationStateType = () => {
  return axios.request({
    url: '/api/as/sc/dict/getDictInfoList?type=isolation_state_type',
    type: 'get'
  })
}
// 隔离状态
export const getOriginPlaceType = () => {
  return axios.request({
    url: '/api/as/sc/dict/getDictInfoList?type=origin_place_type',
    type: 'get'
  })
}
